//
//  CHFooterView.m
//  CarFile
//
//  Created by 陈浩 on 2017/7/10.
//  Copyright © 2017年 陈浩. All rights reserved.
//

#import "CHFooterView.h"



@implementation CHFooterView

-(instancetype)initWithFrame:(CGRect)frame{
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor = [UIColor whiteColor];
        [self setupUI];
    }
    return self;
    
}

-(void)setupUI{
    
    UILabel *titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(15, 10, 150, 30)];
    titleLabel.font = [UIFont systemFontOfSize:14];
    titleLabel.text = @"拒绝原因";
    [self addSubview:titleLabel];
    
    UITextView *textView = [[UITextView alloc] initWithFrame:CGRectMake(15, 50, UIScreenW - 30, 80)];
    textView.layer.cornerRadius = 5;
    textView.layer.masksToBounds = YES;
    textView.layer.borderWidth = 1;
    textView.layer.borderColor = [UIColor lightGrayColor].CGColor;
    textView.font = [UIFont systemFontOfSize:14];
    [self addSubview:textView];
    self.textView = textView;
    
    
    
}


@end
